#pragma once
#include "Red.h"

class Comparator
{
public:
	int operator() ( const pair<InfoVertice,double>& p1, const pair<InfoVertice,double> &p2)
	{
		return p1.second>p2.second;
	}
};

class Dijkstra
{
public:
	
	Dijkstra(void);

	static void ejecutar(Red * gSol, InfoVertice & terminalOrigen, Path &p, Red * base,
						int cantNodosOriginal);

	~Dijkstra(void);
};
